import and export postgresql database